/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package client;

/**
 *
 * @author scriptoff
 */
class ModeleLocal implements InterfaceModele {

    @Override
    public double demandeAnnuit(double montant, double taux, int nbannee) {
        return CoucheMetier.calculAnnuit(montant, taux/100, nbannee);
    }

    @Override
    public double demandeNbAnnee(double montant, double taux, double annuite) {
        return CoucheMetier.calculNombreAn(montant, taux/100, montant);
    }

    @Override
    public void finaliser() {
        
    }
    
}
